from django.urls import re_path

from apps.qqlogin import views

urlpatterns = [
    re_path(r"^qq/authorization/$", views.QQURLView.as_view()),
    re_path(r'^oauth_callback/$', views.QQUserView.as_view()),
    # 邮箱写入数据库,发送验证邮件
    re_path(r"^emails/$", views.EmailView.as_view()),
    # 验证成功后调用修改邮箱为激活状态
    re_path(r'^emails/verification/$', views.VerifyEmailView.as_view()),
]